package cate.common.table.guild;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class GuildDonateBoxRow extends ERow {
    @NoteField(value = "活跃度经验")
    public int expRequird;

    @NoteField(value = "宝箱奖励")
    public String rewardCfg;

    @NoteField(value = "贡献值奖励")
    public int PNum;

    @NoteField(value = "属性加成")
    public String attrStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("活跃等级", 1);
        this.expRequird = xrw.getInteger("活跃度经验", 0);
        this.rewardCfg = xrw.getString("宝箱奖励", "");
        this.PNum = xrw.getInteger("贡献值奖励", 0);
        this.attrStr = xrw.getString("属性加成", "");
    }
}
